package com.example.day16.ex01;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

public class MapDemo03 {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap<>();
        map.put("name","zhangsan");
        map.put("age","18");
        map.put("sex","man");
        Collection<String> values = map.values();
        for (String value : values) {
            System.out.println(value);
        }
    }
}
